package com.qiyu.model.response.backend;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qiyu.common.RPage;
import com.qiyu.model.common.OnlineNumResponse;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 信息动态 管理 分页响应体
 *
 * @Author: tiancheng
 * @date: 2020/8/4 14:24
 */
@Data
@ApiModel("信息动态 管理 分页响应体")
@EqualsAndHashCode(callSuper = true)
public class InformationDynamicPageResponse extends RPage<InformationDynamicResponse> {
    
    @ApiModelProperty("上下线数量")
    private OnlineNumResponse response;
    
    public InformationDynamicPageResponse(IPage<InformationDynamicResponse> page) {
        super(page);
    }
    
    
    public InformationDynamicPageResponse(IPage<InformationDynamicResponse> page, OnlineNumResponse response) {
        super(page);
        this.response = response;
    }
}
